home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / USBKeypad / USBKeypad.make < prev    next >
Encoding:
Text File  |  2000-04-25  |  3.5 KB  |  106 lines  |  [TEXT/R*ch]

  1. #
  2. #    File:        USBKeypad.make
  3. #
  4. #    Contains:    xxx put contents here xxx
  5. #
  6. #    Version:    xxx put version here xxx
  7. #
  8. #    Copyright:    © 1999 by Apple Computer, Inc., all rights reserved.
  9. #
  10. MAKEFILE     = USBKeypad.make
  11. •MondoBuild• = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified
  12. Includes     = -i {USBInterfacesInternal},{USBInterfacesExternal}
  13. Sym•PPC      = -sym on 
  14. USBKeypadTarget    = {USBTargets}Drivers:USBHIDTenKey
  15.  
  16. PPCCOptions  = {Includes} {Sym•PPC} {NeptuneCOptions}
  17.  
  18. LinkPPC        =    PPCLink
  19.  
  20. MacAllyObjects=    "{USBObjects}USBKeypad.c.o"                        ∂
  21.                 "{USBObjects}USBKeypadHeader-MacAlly.c.o"         ∂
  22.                 "{USBObjects}USBKeypadKeyIn.c.o"                 
  23.  
  24. OrtekObjects=    "{USBObjects}USBKeypad.c.o"                        ∂
  25.                 "{USBObjects}USBKeypadHeader-Ortek.c.o"         ∂
  26.                 "{USBObjects}USBKeypadKeyIn.c.o"                 
  27.  
  28. USBKeypad ƒƒ "{USBReleaseExtensions}USBHIDTenKey"  
  29.  
  30. "{USBReleaseExtensions}USBHIDTenKey" ƒ  "{USBKeypadTarget-MacAlly}" "{USBKeypadTarget-Ortek}" 
  31.         delete -i {targ}
  32.         mergefragment -z -x     "{USBKeypadTarget-MacAlly}" -n USBKeypadTarget-MacAlly {targ}
  33.         mergefragment              "{USBKeypadTarget-Ortek}"  -n USBKeypadTarget-Ortek {targ}
  34.         
  35. {USBKeypadTarget-MacAlly}    ƒƒ    {•MondoBuild•}  {MacAllyObjects}    ∂
  36.                 "{USBInterfacesInternal}USBClassDriver.exp"
  37.     delete -i "{Targ}.xcoff"
  38.     delete -i "{Targ}.dbg"
  39.     {LinkPPC}                                                    ∂
  40.         -map "{USBMapDir}USBHIDTenKey.map"                        ∂
  41.         -t 'ndrv'                                                ∂
  42.         -c 'usbd'                                                ∂
  43.         -o {USBKeypadTarget-MacAlly} {Sym•PPC}                     ∂
  44.         {Objects•PPC}                                             ∂
  45.         -xm sharedlibrary                                        ∂
  46.         -share context                                            ∂
  47.         -@export "{USBInterfacesInternal}USBClassDriver.exp"    ∂
  48.         "{USBLibraries}USBServicesLib"                             ∂
  49.         "{SharedLibraries}InterfaceLib"                     
  50.  
  51. {USBKeypadTarget-Ortek}    ƒƒ    {•MondoBuild•}  {MacAllyObjects}    ∂
  52.                 "{USBInterfacesInternal}USBClassDriver.exp"
  53.     delete -i "{Targ}.xcoff"
  54.     delete -i "{Targ}.dbg"
  55.     {LinkPPC}                                                    ∂
  56.         -map "{USBMapDir}USBHIDTenKey.map"                        ∂
  57.         -t 'ndrv'                                                ∂
  58.         -c 'usbd'                                                ∂
  59.         -o {USBKeypadTarget-MacAlly} {Sym•PPC}                     ∂
  60.         {Objects•PPC}                                             ∂
  61.         -xm sharedlibrary                                        ∂
  62.         -share context                                            ∂
  63.         -@export "{USBInterfacesInternal}USBClassDriver.exp"    ∂
  64.         "{USBLibraries}USBServicesLib"                             ∂
  65.         "{SharedLibraries}InterfaceLib"                     
  66.  
  67.  
  68. {USBKeypadTarget-MacAlly}    ƒƒ    "{USBInterfacesInternal}PackageVersion.h"    ∂
  69.                         "USBKeypadVersion.h"                    ∂
  70.                         "USBKeypad.r"                            ∂
  71.                         {•MondoBuild•}
  72.     Rez                                                            ∂
  73.         -i "{USBInterfacesInternal}"                            ∂
  74.         -i "{RIncludes}"                                        ∂
  75.         "{RIncludes}Types.r"                                    ∂
  76.         "USBKeypad.r"                                            ∂
  77.         -a                                                        ∂
  78.         -o {Targ}
  79.         
  80. "{USBObjects}USBKeypadHeader-MacAlly.c.o"    ƒ    "USBKeypadHeader-MacAlly.c"                                ∂
  81.                                             "{USBInterfacesExternal}USB.h"                ∂
  82.                                             "{USBInterfacesInternal}PackageVersion.h"    ∂
  83.                                             "USBKeypadVersion.h"                        ∂
  84.                                             "USBKeypad.h"
  85.     {PPCC} USBKeypadHeader-MacAlly.c -o {Targ} {PPCCOptions}
  86.  
  87. "{USBObjects}USBKeypadHeader-Ortek.c.o"    ƒ    "USBKeypadHeader-Ortek.c"                    ∂
  88.                                             "{USBInterfacesExternal}USB.h"                ∂
  89.                                             "{USBInterfacesInternal}PackageVersion.h"    ∂
  90.                                             "USBKeypadVersion.h"                        ∂
  91.                                             "USBKeypad.h"
  92.     {PPCC} USBKeypadHeader-Ortek.c -o {Targ} {PPCCOptions}
  93.  
  94. "{USBObjects}USBKeypad.c.o"    ƒ    "USBKeypad.c"                                            ∂
  95.                                         "{USBInterfacesExternal}USB.h"                    ∂
  96.                                         "USBKeypad.h"
  97.     {PPCC} USBKeypad.c -o {Targ} {PPCCOptions}
  98.  
  99. "{USBObjects}USBKeypadKeyIn.c.o"    ƒ    "USBKeypadKeyIn.c"
  100.     {PPCC} USBKeypadKeyIn.c -o {Targ} {PPCCOptions}
  101.  
  102. Clean ƒƒ
  103.     Delete -i {Objects•PPC}
  104.     Delete -i {USBKeypadTarget-MacAlly} 
  105.     Delete -i {USBKeypadTarget-Ortek} 
  106.     Delete -i "{USBReleaseExtensions}USBHIDTenKey"